nba<-read_csv("https://cuinnqampbell.github.io/nbamilwaukee.csv")Let’s analyze the nba data:
rmarkdown::paged_table(nba) Variable Description for nba data.frame
Variable Descriptions:
type_text: Type of play listed
text: Result of play listed
away_score: Score of away team at time of play
home_score: Score of home team at time of play
period_number: Period in which the play occurred
clock_display_value: Time in period when play occurred
scoring_play: If ‘TRUE,’ play resulted in a score change. If ‘FALSE,’ play did not result in score change
shooting_play: If ‘TRUE,’ play involved a shot. If ‘FALSE,’ play did not involve a shot
season: year of season when play occurred
home_team_name: Name of home team
away_team_name: Name of away team
time: Time at which play occurred
What I Found
In my data analysis, I found that the Milwaukee Bucks had 201 makes on 273 attempts, meaning they shot 73.626% from the free throw line on their first attempt.

[1] While these results don’t reveal much, when compared to the results in figure [2], they tell us something important.
Additionally, I found that the Milwaukee Bucks had 223 makes on 273 attempts, meaning they shot 81.685% from the free throw line on their second attempt: an 8.059% difference!

[2] The results from the second free throw, when compared to the results from the first, tell us that the players shoot more efficiently on their second attempt. This may be because they need a warmup shot, possible corrections, and many other factors